package sample.jdbc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import sample.jdbc.mapper.ITestMapper;
import sample.jdbc.service.ITestService;
import sample.jdbc.vo.TestVo;

import java.util.List;

@Service
public class TestServiceImpl extends ServiceImpl<ITestMapper, TestVo> implements ITestService {

    @Override
    public List<TestVo> findAll() {
        return this.list();
    }
}
